gtk4.git
27 years agoChanged GtkSignalFunc back to () from (void). (again!)
Owen Taylor [Thu, 13 Aug 1998 21:00:43 +0000 (21:00 +0000)]
Changed GtkSignalFunc back to () from (void). (again!)

Thu Aug 13 16:47:44 1998  Owen Taylor  <otaylor@redhat.com>

* Changed GtkSignalFunc back to () from (void). (again!)

27 years agoFixed the GtkSignalFunc typedef to read "(void)" instead of "()", which
Nat Friedman [Thu, 13 Aug 1998 19:03:48 +0000 (19:03 +0000)]
Fixed the GtkSignalFunc typedef to read "(void)" instead of "()", which

Fixed the GtkSignalFunc typedef to read "(void)" instead of "()", which was
causing it to not build on my irix machine.

27 years agoOne character type fix - tony [gale@gtk.org]
Tony Gale [Thu, 13 Aug 1998 13:35:11 +0000 (13:35 +0000)]
One character type fix - tony [gale@gtk.org]

27 years ago- Tidy up of the menufactory example from Andy Kahn <kahn@zk3.dec.com> -
BST 1998 Tony Gale [Thu, 13 Aug 1998 13:11:14 +0000 (13:11 +0000)]
- Tidy up of the menufactory example from Andy Kahn <kahn@zk3.dec.com> -

Thu Aug 13 09:11:11 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
          - Tidy up of the menufactory example from
            Andy Kahn <kahn@zk3.dec.com>
          - New section on Range Widgets from
            David Huggins-Daines <bn711@freenet.carleton.ca>
          - Started a new section on 'Advanced Event and Signal
            Handling' - used an email from Owen.
          - New appendix on Gdk Event Types
          - Added the tictactoe full example code to the
            'Code Examples' appendix

27 years agoMore ChangeLog fixups.
Owen Taylor [Wed, 12 Aug 1998 16:53:45 +0000 (16:53 +0000)]
More ChangeLog fixups.

27 years agoRemoved leftover bits from ChangeLog
Owen Taylor [Wed, 12 Aug 1998 16:50:41 +0000 (16:50 +0000)]
Removed leftover bits from ChangeLog

27 years agoAdded gdk_text/string_extents() - too calculate all the metrics at once of
Owen Taylor [Wed, 12 Aug 1998 16:49:13 +0000 (16:49 +0000)]
Added gdk_text/string_extents() - too calculate all the metrics at once of

Tue Jul 21 12:42:01 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() -
  too calculate all the metrics at once of a string, including
  things which weren't calculated before.

* gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
  MenuItem type, that when put as the first thing in a
  menu, makes the menu tearoff. Currently drawn as a
  dashed line.

* gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
  "hide_on_activate" to the MenuItem class structure to allow
  check and radio buttons to be changed with <Space> without
  hiding the menu.

* gtk/gtkaccellabel.[ch]: Added new capabilities to set
  a underline_group and underline_mods for the label -
  accelerators added in the underline group matching
  underline_mods will be displayed as an underline character.

  This doesn't work - Save As needs to be underlined
  as Save _As.

* gtk/gtkitemfactory.c:
  - Create a AccelGroup for each MenuShell we create.
  - If an '&' appears before a  character 'c' in the path,
    then make 'c' an accelerator in the menu's accel group,
    and if the menuitem is menubar <alt>C an accelerator
    in the itemfactory's accel group.

* gtk/gtklabel.[ch]: Add support for a pattern arg -
          which is a string. If an '_' appears in this string,
  the corresponding position in the label is underlined.

          Add gtk_label_parse_uline() convenience function which
  takes a string with embedded underlines, sets the
  pattern and label, and returns the accelerator keyval.

* gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
  Instead, they create a GtkWindow and add themselves
  to that. (When torn off, another new feature, they
  create another GtkWindow to hold the torn off menu)

  New function gtk_menu_set_tearoff_state()

* gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h:
  Added action signals  for keyboard navigation of menus.

* gtk/gtkmenushell.c: Key press handler which activates
          bindings for navigation, and accelerators, for handling
  underline accelerators. Exported functions to select
  and activate menu items in a menushell.

* gtk/testgtk.c: Added a new "Item Factory" test which
  tests GtkItemFactory and the new keyboard navigation
  of menus.

27 years agorelookup nodes after external functions have been called. also relookup
Tim Janik [Tue, 11 Aug 1998 19:29:36 +0000 (19:29 +0000)]
relookup nodes after external functions have been called. also relookup

Tue Aug 11 20:52:58 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after
        external functions have been called. also relookup nodes after
        this function has been invoked.

27 years agoRemoved has_cursor, set the cursor beginning of Text when creating the
Owen Taylor [Tue, 11 Aug 1998 19:06:18 +0000 (19:06 +0000)]
Removed has_cursor, set the cursor beginning of Text when creating the

Tue Aug 11 15:04:52 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktext.[ch]: Removed has_cursor, set the cursor
  beginning of Text when creating the Text widget.

* gtk/testgtk.c: Grab the focus on the text widget so
  as to test out the above.

Tue Aug 11 14:55:00 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkeditable.c: Reverted part of timj's change of Jul 16.
  ::changed is a notification signal and should have no default
  handler. A complete redraw of the Text widget does _not_ need to
  be done on every text insertion.

Tue Aug 11 13:07:29 1998  Owen Taylor  <otaylor@redhat.com>
(gtk-abilleira-072198-patch)

* gtk/gtkwindow.[ch]:
  Add gtk_window_set_modal() which sets a flag; when
  set the window does a gtk_grab_add() when the window
  is shown, and a gtk_grab_remove() when the window
  is hidden.

* gtk/gtkfilesel.[ch]: Test if it is running in modal form and in
  that case will run "Create Dir","Delete File" and "Rename File"
  dialogs as modal too.

* gtk/testgtk.c: Added a button with an example of creating modal
  dialog boxes. Including file selection and color selection standard
  dialogs.

Tue Aug 11 00:44:47 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c:
  Removed CAN_FOCUS by default from scrollbars, button
  children of toolbar. (But not GDK_TOOLBAR_CHILD_WIDGET children)
  (Scrollbar definitely good change, toolbar bit more questionable)

27 years ago#include fixes (reported by Asbjoern Pettersen).
Tim Janik [Tue, 11 Aug 1998 18:27:49 +0000 (18:27 +0000)]
#include fixes (reported by Asbjoern Pettersen).

Tue Aug 11 17:49:33 1998  Tim Janik  <timj@gtk.org>

        * examples/packbox/packbox.c: #include fixes (reported by Asbjoern
        Pettersen).

27 years agoApplied gtk-pedersen-980727-0; added all logical operations to
Owen Taylor [Tue, 11 Aug 1998 04:32:14 +0000 (04:32 +0000)]
Applied gtk-pedersen-980727-0; added all logical operations to

Tue Aug 11 00:35:56 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0;
  added all logical operations to gc->function.

27 years agofile DUMMY was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:26 +0000 (03:06 +0000)]
file DUMMY was initially added on branch themes-2.

27 years agofile vline.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:24 +0000 (03:06 +0000)]
file vline.png was initially added on branch themes-2.

27 years agofile trough.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:23 +0000 (03:06 +0000)]
file trough.png was initially added on branch themes-2.

27 years agofile shadow2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:22 +0000 (03:06 +0000)]
file shadow2.png was initially added on branch themes-2.

27 years agofile shadow1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:21 +0000 (03:06 +0000)]
file shadow1.png was initially added on branch themes-2.

27 years agofile scrollbar_vert1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:20 +0000 (03:06 +0000)]
file scrollbar_vert1.png was initially added on branch themes-2.

27 years agofile scrollbar_thumb2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:19 +0000 (03:06 +0000)]
file scrollbar_thumb2.png was initially added on branch themes-2.

27 years agofile scrollbar_thumb.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:18 +0000 (03:06 +0000)]
file scrollbar_thumb.png was initially added on branch themes-2.

27 years agofile scrollbar_horiz1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:17 +0000 (03:06 +0000)]
file scrollbar_horiz1.png was initially added on branch themes-2.

27 years agofile ruler_vert.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:16 +0000 (03:06 +0000)]
file ruler_vert.png was initially added on branch themes-2.

27 years agofile ruler_horiz.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:15 +0000 (03:06 +0000)]
file ruler_horiz.png was initially added on branch themes-2.

27 years agofile progressbar.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:13 +0000 (03:06 +0000)]
file progressbar.png was initially added on branch themes-2.

27 years agofile option_menu.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:12 +0000 (03:06 +0000)]
file option_menu.png was initially added on branch themes-2.

27 years agofile option2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:11 +0000 (03:06 +0000)]
file option2.png was initially added on branch themes-2.

27 years agofile option1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:10 +0000 (03:06 +0000)]
file option1.png was initially added on branch themes-2.

27 years agofile hline.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:09 +0000 (03:06 +0000)]
file hline.png was initially added on branch themes-2.

27 years agofile handle_vert_thumb.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:08 +0000 (03:06 +0000)]
file handle_vert_thumb.png was initially added on branch themes-2.

27 years agofile gap_top_start.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:07 +0000 (03:06 +0000)]
file gap_top_start.png was initially added on branch themes-2.

27 years agofile gap_top_end.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:06 +0000 (03:06 +0000)]
file gap_top_end.png was initially added on branch themes-2.

27 years agofile gap_top.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:05 +0000 (03:06 +0000)]
file gap_top.png was initially added on branch themes-2.

27 years agofile gap_right_start.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:04 +0000 (03:06 +0000)]
file gap_right_start.png was initially added on branch themes-2.

27 years agofile gap_right_end.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:03 +0000 (03:06 +0000)]
file gap_right_end.png was initially added on branch themes-2.

27 years agofile gap_right.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:02 +0000 (03:06 +0000)]
file gap_right.png was initially added on branch themes-2.

27 years agofile gap_left_start.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:06:01 +0000 (03:06 +0000)]
file gap_left_start.png was initially added on branch themes-2.

27 years agofile gap_left_end.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:59 +0000 (03:05 +0000)]
file gap_left_end.png was initially added on branch themes-2.

27 years agofile gap_left.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:58 +0000 (03:05 +0000)]
file gap_left.png was initially added on branch themes-2.

27 years agofile gap_bottom_start.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:57 +0000 (03:05 +0000)]
file gap_bottom_start.png was initially added on branch themes-2.

27 years agofile gap_bottom_end.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:56 +0000 (03:05 +0000)]
file gap_bottom_end.png was initially added on branch themes-2.

27 years agofile gap_bottom.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:55 +0000 (03:05 +0000)]
file gap_bottom.png was initially added on branch themes-2.

27 years agofile frame_gap_top_start.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:54 +0000 (03:05 +0000)]
file frame_gap_top_start.png was initially added on branch themes-2.

27 years agofile frame_gap_top_end.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:53 +0000 (03:05 +0000)]
file frame_gap_top_end.png was initially added on branch themes-2.

27 years agofile frame_gap.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:52 +0000 (03:05 +0000)]
file frame_gap.png was initially added on branch themes-2.

27 years agofile frame2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:51 +0000 (03:05 +0000)]
file frame2.png was initially added on branch themes-2.

27 years agofile frame1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:50 +0000 (03:05 +0000)]
file frame1.png was initially added on branch themes-2.

27 years agofile focus.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:49 +0000 (03:05 +0000)]
file focus.png was initially added on branch themes-2.

27 years agofile extension_top1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:48 +0000 (03:05 +0000)]
file extension_top1.png was initially added on branch themes-2.

27 years agofile extension_right1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:47 +0000 (03:05 +0000)]
file extension_right1.png was initially added on branch themes-2.

27 years agofile extension_left1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:46 +0000 (03:05 +0000)]
file extension_left1.png was initially added on branch themes-2.

27 years agofile extension_bottom1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:45 +0000 (03:05 +0000)]
file extension_bottom1.png was initially added on branch themes-2.

27 years agofile entry2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:44 +0000 (03:05 +0000)]
file entry2.png was initially added on branch themes-2.

27 years agofile entry1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:43 +0000 (03:05 +0000)]
file entry1.png was initially added on branch themes-2.

27 years agofile curve_bg1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:42 +0000 (03:05 +0000)]
file curve_bg1.png was initially added on branch themes-2.

27 years agofile check2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:41 +0000 (03:05 +0000)]
file check2.png was initially added on branch themes-2.

27 years agofile check1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:40 +0000 (03:05 +0000)]
file check1.png was initially added on branch themes-2.

27 years agofile button_def.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:39 +0000 (03:05 +0000)]
file button_def.png was initially added on branch themes-2.

27 years agofile button9.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:38 +0000 (03:05 +0000)]
file button9.png was initially added on branch themes-2.

27 years agofile button8.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:37 +0000 (03:05 +0000)]
file button8.png was initially added on branch themes-2.

27 years agofile button7.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:36 +0000 (03:05 +0000)]
file button7.png was initially added on branch themes-2.

27 years agofile button6.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:35 +0000 (03:05 +0000)]
file button6.png was initially added on branch themes-2.

27 years agofile button5.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:34 +0000 (03:05 +0000)]
file button5.png was initially added on branch themes-2.

27 years agofile button4.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:33 +0000 (03:05 +0000)]
file button4.png was initially added on branch themes-2.

27 years agofile button3.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:32 +0000 (03:05 +0000)]
file button3.png was initially added on branch themes-2.

27 years agofile button2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:31 +0000 (03:05 +0000)]
file button2.png was initially added on branch themes-2.

27 years agofile button1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:30 +0000 (03:05 +0000)]
file button1.png was initially added on branch themes-2.

27 years agofile brown_bg2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:29 +0000 (03:05 +0000)]
file brown_bg2.png was initially added on branch themes-2.

27 years agofile brown_bg1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:28 +0000 (03:05 +0000)]
file brown_bg1.png was initially added on branch themes-2.

27 years agofile arrow_up3.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:27 +0000 (03:05 +0000)]
file arrow_up3.png was initially added on branch themes-2.

27 years agofile arrow_up2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:26 +0000 (03:05 +0000)]
file arrow_up2.png was initially added on branch themes-2.

27 years agofile arrow_up1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:25 +0000 (03:05 +0000)]
file arrow_up1.png was initially added on branch themes-2.

27 years agofile arrow_right3.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:24 +0000 (03:05 +0000)]
file arrow_right3.png was initially added on branch themes-2.

27 years agofile arrow_right2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:23 +0000 (03:05 +0000)]
file arrow_right2.png was initially added on branch themes-2.

27 years agofile arrow_right1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:22 +0000 (03:05 +0000)]
file arrow_right1.png was initially added on branch themes-2.

27 years agofile arrow_left3.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:20 +0000 (03:05 +0000)]
file arrow_left3.png was initially added on branch themes-2.

27 years agofile arrow_left2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:19 +0000 (03:05 +0000)]
file arrow_left2.png was initially added on branch themes-2.

27 years agofile arrow_left1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:18 +0000 (03:05 +0000)]
file arrow_left1.png was initially added on branch themes-2.

27 years agofile arrow_down3.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:17 +0000 (03:05 +0000)]
file arrow_down3.png was initially added on branch themes-2.

27 years agofile arrow_down2.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:16 +0000 (03:05 +0000)]
file arrow_down2.png was initially added on branch themes-2.

27 years agofile arrow_down1.png was initially added on branch themes-2.
Carsten Haitzler [Tue, 11 Aug 1998 03:05:15 +0000 (03:05 +0000)]
file arrow_down1.png was initially added on branch themes-2.

27 years agoFix for resize bug. Call gtk_widget_size_allocate instead of
Lars Hamann [Mon, 10 Aug 1998 17:56:43 +0000 (17:56 +0000)]
Fix for resize bug. Call gtk_widget_size_allocate instead of

Sun Aug  9 23:31:59 1998  Lars Hamann  <lars@gtk.org>

        * gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call
        gtk_widget_size_allocate instead of gtk_widget_queue_resize
        if the visibility state of a scrollbar changes.

27 years agofixed an #include statement (reported by Eric Kidd).
Tim Janik [Mon, 10 Aug 1998 10:52:08 +0000 (10:52 +0000)]
fixed an #include statement (reported by Eric Kidd).

Mon Aug 10 12:49:54 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd).

27 years agofile gtk_vbox.pod was initially added on branch gtk-1-0.
Shawn Amundson [Fri, 7 Aug 1998 03:12:10 +0000 (03:12 +0000)]
file gtk_vbox.pod was initially added on branch gtk-1-0.

27 years agofile gtk_hbox.pod was initially added on branch gtk-1-0.
Shawn Amundson [Fri, 7 Aug 1998 03:12:09 +0000 (03:12 +0000)]
file gtk_hbox.pod was initially added on branch gtk-1-0.

27 years agofile gtk.pod was initially added on branch gtk-1-0.
Shawn Amundson [Fri, 7 Aug 1998 03:12:06 +0000 (03:12 +0000)]
file gtk.pod was initially added on branch gtk-1-0.

27 years agohm, someone changed an enum and didn't update auto-files...
Tim Janik [Fri, 7 Aug 1998 02:54:23 +0000 (02:54 +0000)]
hm, someone changed an enum and didn't update auto-files...

27 years agoRenamed my_merge and my_mergesort to gtk_clist_merge and
Stefan Jeske [Thu, 6 Aug 1998 20:49:24 +0000 (20:49 +0000)]
Renamed my_merge and my_mergesort to gtk_clist_merge and

Thu Aug  6 22:37:21 1998  Stefan Jeske  <stefan@gtk.org>

* gtk/gtkclist.c: Renamed my_merge and my_mergesort to
  gtk_clist_merge and gtk_clist_mergesort. :)

27 years agoFixed some minor comment typos and added myself to AUTHORS in gtk+.
Raph Levien [Thu, 6 Aug 1998 04:09:40 +0000 (04:09 +0000)]
Fixed some minor comment typos and added myself to AUTHORS in gtk+.

27 years agoRenamed `merge' -> `my_merge' and `mergesort' -> `my_mergesort'.
Martin Baulig [Thu, 6 Aug 1998 02:20:47 +0000 (02:20 +0000)]
Renamed `merge' -> `my_merge' and `mergesort' -> `my_mergesort'.

1998-08-06  Martin Baulig  <martin@home-of-linux.org>

* gtk/gtkclist.c: Renamed `merge' -> `my_merge' and
`mergesort' -> `my_mergesort'.

27 years agonew enum GtkSortType.
Stefan Jeske [Wed, 5 Aug 1998 20:02:32 +0000 (20:02 +0000)]
new enum GtkSortType.

Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>

* gtk/gtkenums.h: new enum GtkSortType.

* gtk/gtkclist.h:
* gtk/gtkclist.c:
Added sorting capabilities to GtkCList. New APIs :
gtk_clist_set_compare_func, gtk_clist_set_sort_column,
gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort.
New internal functions : default_compare, merge, mergesort.

(gtk_clist_append): This is just a wrapper for gtk_clist_insert now.

(gtk_clist_insert): Modified to handle gtk_clist_append and the
auto sort flag. Changed the return value from void to gint to
return the row number where the element was actually inserted.

(gtk_clist_swap_rows): Return immediately if auto sort flag is set.

* gtk/gtkctree.h:
* gtk/gtkctree.c:
Removed the auto_sort flag, replaced ctree->node_compare with
clist->compare all over the place, modified default_compare to
match clist's needs. Removed APIĀ“s : gtk_ctree_set_auto_sort,
gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.

* gtk/testgtk.c: Modified clist/ctree samples to demonstrate
sorting. The lists can be sorted by a column by clicking the
corresponding title button.

27 years agoReleased GTK+ 1.1.1
PDT 1998 Shawn T. Amundson [Wed, 5 Aug 1998 05:04:30 +0000 (05:04 +0000)]
Released GTK+ 1.1.1

Tue Aug  4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.1

27 years agochanged to return a gboolean (gtk_ctree_insert_gnode): new function for
Lars Hamann [Wed, 5 Aug 1998 02:11:32 +0000 (02:11 +0000)]
changed to return a gboolean (gtk_ctree_insert_gnode): new function for

Wed Aug  5 02:57:20 1998  Lars Hamann  <lars@gtk.org>

        * gtk/gtkctree.h:
        * gtk/gtkctree.c:
        (gtk_ctree_find): changed to return a gboolean
        (gtk_ctree_insert_gnode): new function for recursive insertion of a
        GNode tree.
        (gtk_ctree_real_select_recursive): fix for extended selection
        (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
        (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag

27 years agoversion bump to 1.1.1, binary age 0, interface age 0. GLib version 1.1.1
Tim Janik [Tue, 4 Aug 1998 23:44:27 +0000 (23:44 +0000)]
version bump to 1.1.1, binary age 0, interface age 0. GLib version 1.1.1

Tue Aug  4 16:18:26 1998  Tim Janik  <timj@gtk.org>

        * configure.in: version bump to 1.1.1, binary age 0, interface age 0.
        GLib version 1.1.1 is now required at minimum.

        * docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version
        of the Gtk+ tutorial, contributed by Eric Jacoboni <jaco@dotcom.fr>.

27 years agoAdded missing else
Owen Taylor [Tue, 4 Aug 1998 15:07:55 +0000 (15:07 +0000)]
Added missing else

27 years agoUndraw the cursor before (possibly) deleting the cursor's text property.
Owen Taylor [Tue, 4 Aug 1998 14:56:44 +0000 (14:56 +0000)]
Undraw the cursor before (possibly) deleting the cursor's text property.

Mon Aug  3 19:24:48 1998  Owen Taylor  <otaylor@redhat.com>

  * gtk/gtktext.c (gtk_text_forward_delete): Undraw the
    cursor before (possibly) deleting the cursor's text
    property.

  * gtk/gtktext.c (correct_cache_delete): More attempts
    to clean the line-start cache up after inserting
    a property. Among other things, make sure to
    fix up text->current_line, since it is used to
    refetch the changed lines.

27 years agoEmpty rows/columns of the table should not have been marked as being able
Owen Taylor [Tue, 4 Aug 1998 14:55:04 +0000 (14:55 +0000)]
Empty rows/columns of the table should not have been marked as being able

Tue Aug  4 10:59:19 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktable.[ch]: Empty rows/columns of the table
        should not have been marked as being able to shrink.
(Fixes prorlem with shrinking scrollbarless GIMP canvases)

27 years agoChanged a %postun to a %preun, should get rid of errors when uninstalling
Michael Fulbright [Tue, 4 Aug 1998 14:34:23 +0000 (14:34 +0000)]
Changed a %postun to a %preun, should get rid of errors when uninstalling

Dr Mike <msf@redhat.com>

27 years agoNew public function to find a row by its data pointer using a custom
Federico Mena Quintero [Mon, 3 Aug 1998 19:50:23 +0000 (19:50 +0000)]
New public function to find a row by its data pointer using a custom

1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public
function to find a row by its data pointer using a custom
comparison function.

27 years agoMon, 3 Aug 1998 20:08:46 +0200 [Vincent]
Vincent Renardias [Mon, 3 Aug 1998 18:05:06 +0000 (18:05 +0000)]
Mon,  3 Aug 1998 20:08:46 +0200  [Vincent]

* French version of the Gtk+ tutorial contributed by Eric Jacoboni <jaco@dotcom.fr>

27 years agodon't you hate it when you apply the wrong patch and discover it only
George Lebl [Mon, 3 Aug 1998 06:22:41 +0000 (06:22 +0000)]
don't you hate it when you apply the wrong patch and discover it only
after applying it and committing
-George

27 years agodraw the buttons during a "draw" as well, this fixes a bug when the whole
George Lebl [Mon, 3 Aug 1998 05:58:49 +0000 (05:58 +0000)]
draw the buttons during a "draw" as well, this fixes a bug when the whole

Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>

        * gtk/gtkclist.c: draw the buttons during a "draw" as well,
          this fixes a bug when the whole widget is made non-sesitive
          the buttons weren't redrawn